-
-
Notifications
You must be signed in to change notification settings - Fork 305
[ys-han00] WEEK 04 solutions #2134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tudy#269 solutions
| while(left < right) { | ||
| mid = (left + right) / 2; | ||
|
|
||
| if(nums[right] < nums[mid]) | ||
| left = mid + 1; | ||
| else | ||
| right = mid; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이분 탐색으로 가능한 문제였군요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
맨 처음 풀이를 너무 이상하게 풀었는데, 풀고나서 보이더라구요 ㅎㅎ
|
@DaleStudy 리뷰해줘 |
|
전체적으로 깔끔하고 기초적인 접근법을 잘 사용하셨습니다! 몇 가지 개선점과 피드백을 드리자면:
전반적으로 기초부터 탄탄한 코드입니다! 더 나은 가독성과 유지보수를 위해 각 함수에 간단한 주석(시간복잡도, 핵심 아이디어)을 추가하는 것도 추천드릴게요. 계속해서 좋은 방향으로 발전하세요! |
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!